package com.honglang.module.article.dao;

import java.util.List;

import com.honglang.dao.GenericDao;
import com.honglang.module.article.entity.BlogArticleComment;

public interface BlogArticleCommentDao extends GenericDao<BlogArticleComment,Integer>{
	/**
	 * get the  blogArticleComments of one page which comment is the rootComment
	 * @param pageSize
	 * @param pageNo
	 * @return
	 */
	public List<?> getBlogArticleRootCommentsPerPage(int pageSize,int pageNo,Integer blogArticleId);


	/**
	 * get the blogArticleRootComment rowCount ;
	 * @param blogArticleId
	 * @return
	 */
	public Integer getBlogArticleRootCommentRowCount(Integer blogArticleId);

}
